package com.cc.models;

import java.io.Serializable;
import java.util.List;

/**
 * 角色表
 * @author chailinxiao
 *
 */
@SuppressWarnings("serial")
public class Role extends BaseModel implements Serializable{
	
	private int roleId;				// 角色ID
		
	private String roleName;			// 角色名称
	
	private List<Power> powers;		// 权限列表

	public int getRoleId() {
		return roleId;
	}
	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public List<Power> getPowers() {
		return powers;
	}
	public void setPowers(List<Power> powers) {
		this.powers = powers;
	}
}
